﻿if exists (select * from dbo.sysobjects where name = 'sp_Rating_Update')	drop procedure [dbo].[sp_Rating_Update]Go CREATE PROCEDURE dbo.sp_Rating_Update	@Id		varchar(50),	@Name		nvarchar(100),	@MinPoint		float,	@MaxPoint		float,	@Level		bit,	@Order		intAS	UPDATE [Rating] SET [Name] = @Name, [MinPoint] = @MinPoint, [MaxPoint] = @MaxPoint, [Order] = @Order	 WHERE Id = @Id AND Level = @LevelGo 